<?php $this->pageTitle = 'Thay đổi mật khẩu';?>
<div class="heading">
    <h1 style="text-align: center;"><a class = "title-page"><?php echo $this->pageTitle;?></a></h1>
    <div class="controls">

    </div>
</div>

<div class="content">
	<div class="user-profile" style="">
		<div class="left-column form form-active-profile">
		<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'changepassword-form',
			'enableAjaxValidation'=>false,
			'clientOptions'=>array(
				'validateOnSubmit'=>true,
			),
		)); ?>

			<p class="note"><?php echo UserModule::t('Fields with <span class="required">*</span> are required.'); ?></p>
			<?php //echo $form->errorSummary($model); ?>

			<div class="row">
			<?php echo $form->labelEx($model,'oldPassword'); ?>
			<?php echo $form->passwordField($model,'oldPassword'); ?>
			<?php echo $form->error($model,'oldPassword'); ?>
			</div>

			<div class="row">
			<?php echo $form->labelEx($model,'password'); ?>
			<?php echo $form->passwordField($model,'password'); ?>
			<?php echo $form->error($model,'password'); ?>
			</div>

			<div class="row">
			<?php echo $form->labelEx($model,'verifyPassword'); ?>
			<?php echo $form->passwordField($model,'verifyPassword'); ?>
			<?php echo $form->error($model,'verifyPassword'); ?>
			</div>

			<div class="row buttons"><?php echo CHtml::submitButton('Hoàn tất', array('class' => 'controls btn')); ?></div>

		<?php $this->endWidget(); ?>
		</div><!-- form -->
	</div>
</div>